﻿using Responsibility.Handle;
using System;

namespace Responsibility
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");

            BaseHandle baseHandle = new FirstHandle();
            baseHandle.SetNext(new SecondHandle()).SetNext(new ThirdHandle());
            baseHandle.Excuted(11);
            Console.ReadKey();
        }
    }
}
